<?php

include_once('Client_RK1_receiveLoadProfile.php');
include_once('Client_RK1_receiveLoadProfileResponse.php');
include_once('Client_RK1_ParseException.php');
include_once('Client_RK1_receiveConsumptionPlan.php');
include_once('Client_RK1_receiveConsumptionPlanResponse.php');
include_once('Client_RK1_receiveConsumptionForecast.php');
include_once('Client_RK1_receiveConsumptionForecastResponse.php');
include_once('Client_RK1_receiveDailyMeteredData.php');
include_once('Client_RK1_receiveDailyMeteredDataResponse.php');
include_once('Client_RK1_receiveLoadProfileShare.php');
include_once('Client_RK1_receiveLoadProfileShareResponse.php');


/**
 *
 */
class Client_RK1_RuritaniaKradoService extends SoapClient
{

  /**
   *
   * @var array $classmap The defined classes
   * @access private
   */
  private static $classmap = array(
    'receiveLoadProfile' => 'Client_RK1_receiveLoadProfile',
    'receiveLoadProfileResponse' => 'Client_RK1_receiveLoadProfileResponse',
    'ParseException' => 'Client_RK1_ParseException',
    'receiveConsumptionPlan' => 'Client_RK1_receiveConsumptionPlan',
    'receiveConsumptionPlanResponse' => 'Client_RK1_receiveConsumptionPlanResponse',
    'receiveConsumptionForecast' => 'Client_RK1_receiveConsumptionForecast',
    'receiveConsumptionForecastResponse' => 'Client_RK1_receiveConsumptionForecastResponse',
    'receiveDailyMeteredData' => 'Client_RK1_receiveDailyMeteredData',
    'receiveDailyMeteredDataResponse' => 'Client_RK1_receiveDailyMeteredDataResponse',
    'receiveLoadProfileShare' => 'Client_RK1_receiveLoadProfileShare',
    'receiveLoadProfileShareResponse' => 'Client_RK1_receiveLoadProfileShareResponse');

  /**
   *
   * @param array $config A array of config values
   * @param string $wsdl The wsdl file to use
   * @access public
   */
  public function __construct(array $options = array(), $wsdl = 'http://ats.cs.ut.ee:8080/RuritaniaKradoService/RuritaniaKrado?wsdl')
  {
    foreach(self::$classmap as $key => $value)
    {
      if(!isset($options['classmap'][$key]))
      {
        $options['classmap'][$key] = $value;
      }
    }

    parent::__construct($wsdl, $options);

  }

  /**
   *
   * @param Client_RK1_receiveDailyMeteredData $parameters
   * @access public
   */
  public function receiveDailyMeteredData($parameters)
  {
    return $this->__soapCall('receiveDailyMeteredData', array($parameters));
  }

  /**
   *
   * @param Client_RK1_receiveConsumptionForecast $parameters
   * @access public
   */
  public function receiveConsumptionForecast($parameters)
  {
    return $this->__soapCall('receiveConsumptionForecast', array($parameters));
  }

  /**
   *
   * @param Client_RK1_receiveConsumptionPlan $parameters
   * @access public
   */
  public function receiveConsumptionPlan($parameters)
  {
    return $this->__soapCall('receiveConsumptionPlan', array($parameters));
  }

  /**
   *
   * @param Client_RK1_receiveLoadProfile $parameters
   * @access public
   */
  public function receiveLoadProfile($parameters)
  {
    return $this->__soapCall('receiveLoadProfile', array($parameters));
  }

  /**
   *
   * @param Client_RK1_receiveLoadProfileShare $parameters
   * @access public
   */
  public function receiveLoadProfileShare($parameters)
  {
    return $this->__soapCall('receiveLoadProfileShare', array($parameters));
  }

}
